<html {$html_attrs}>
<head>
<title>{$caption proforma_invoices_report}</title>
{BEGIN stylesheetlink}
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
{END stylesheetlink}
<style>
.grid_block {  
margin-top:5px;
border-collapse: collapse;
align:center;
width:95%;
border: solid black 1px;
} 
.grid_block td { 
 padding: 5px; 
 margin: 0px; 
 border: solid #cccccc 1px;
}
.grid_block .gridspacing {width:20px;border-top-color:white; border-bottom-color:white;background-color:white}
@media print 
{
	a.pdf {display:none}
}
.printpage {page-break-after:always}

.pagesummary
{
background-color:#ffffbb;
}
.globalsummary
{
background-color:#ffe0b0;
}

{$cssdata}

</style> 
</head>
<body topmargin=5 style="background:white">
{BEGIN body}
{$header}
{BEGIN page}
<div>

<h1>{$caption proforma_invoices_report}</h1>
<div id='selpage'>{mlang_message PAGE1} {$pageno} {mlang_message PAGE2} {$maxpages} </div>
{BEGIN pdf_block}
{BEGIN pdflink_block}
<a href=# class=pdf {$pdflink_attrs}>{mlang_message PDF_VIEW}</a>
{END pdflink_block}
{END pdf_block}

{BEGIN grid_block}
<table align="center" cellpadding=5 class="grid_block">
{BEGIN grid_header}
<tr>
<td class=blackshade>
{BEGIN id_fieldheader}
<b>{$label proforma_invoices_report id}</b>
{END id_fieldheader}
</td>
<td class=blackshade>
{BEGIN account_id_fieldheader}
<b>{$label proforma_invoices_report account_id}</b>
{END account_id_fieldheader}
</td>
<td class=blackshade>
{BEGIN buyer_id_fieldheader}
<b>{$label proforma_invoices_report buyer_id}</b>
{END buyer_id_fieldheader}
</td>
<td class=blackshade>
{BEGIN consignee_id_fieldheader}
<b>{$label proforma_invoices_report consignee_id}</b>
{END consignee_id_fieldheader}
</td>
<td class=blackshade>
{BEGIN notify_id_fieldheader}
<b>{$label proforma_invoices_report notify_id}</b>
{END notify_id_fieldheader}
</td>
<td class=blackshade>
{BEGIN proforma_invoice_no_fieldheader}
<b>{$label proforma_invoices_report proforma_invoice_no}</b>
{END proforma_invoice_no_fieldheader}
</td>
<td class=blackshade>
{BEGIN proforma_invoice_date_fieldheader}
<b>{$label proforma_invoices_report proforma_invoice_date}</b>
{END proforma_invoice_date_fieldheader}
</td>
<td class=blackshade>
{BEGIN customer_reference_fieldheader}
<b>{$label proforma_invoices_report customer_reference}</b>
{END customer_reference_fieldheader}
</td>
<td class=blackshade>
{BEGIN customer_reference_date_fieldheader}
<b>{$label proforma_invoices_report customer_reference_date}</b>
{END customer_reference_date_fieldheader}
</td>
<td class=blackshade>
{BEGIN commercial_invoice_no_fieldheader}
<b>{$label proforma_invoices_report commercial_invoice_no}</b>
{END commercial_invoice_no_fieldheader}
</td>
<td class=blackshade>
{BEGIN commercial_invoice_date_fieldheader}
<b>{$label proforma_invoices_report commercial_invoice_date}</b>
{END commercial_invoice_date_fieldheader}
</td>
<td class=blackshade>
{BEGIN term_of_sale1_fieldheader}
<b>{$label proforma_invoices_report term_of_sale1}</b>
{END term_of_sale1_fieldheader}
</td>
<td class=blackshade>
{BEGIN term_of_sale2_fieldheader}
<b>{$label proforma_invoices_report term_of_sale2}</b>
{END term_of_sale2_fieldheader}
</td>
<td class=blackshade>
{BEGIN shipment_mode_id_fieldheader}
<b>{$label proforma_invoices_report shipment_mode_id}</b>
{END shipment_mode_id_fieldheader}
</td>
<td class=blackshade>
{BEGIN estimated_shipment_date_fieldheader}
<b>{$label proforma_invoices_report estimated_shipment_date}</b>
{END estimated_shipment_date_fieldheader}
</td>
<td class=blackshade>
{BEGIN estimated_shipment_date_custom_fieldheader}
<b>{$label proforma_invoices_report estimated_shipment_date_custom}</b>
{END estimated_shipment_date_custom_fieldheader}
</td>
<td class=blackshade>
{BEGIN additional_charges_frieght_type_fieldheader}
<b>{$label proforma_invoices_report additional_charges_frieght_type}</b>
{END additional_charges_frieght_type_fieldheader}
</td>
<td class=blackshade>
{BEGIN additional_charges_legalization_fieldheader}
<b>{$label proforma_invoices_report additional_charges_legalization}</b>
{END additional_charges_legalization_fieldheader}
</td>
<td class=blackshade>
{BEGIN additional_charges_inspection_fieldheader}
<b>{$label proforma_invoices_report additional_charges_inspection}</b>
{END additional_charges_inspection_fieldheader}
</td>
<td class=blackshade>
{BEGIN additional_charges_special_packing_fieldheader}
<b>{$label proforma_invoices_report additional_charges_special_packing}</b>
{END additional_charges_special_packing_fieldheader}
</td>
<td class=blackshade>
{BEGIN others1_key_fieldheader}
<b>{$label proforma_invoices_report others1_key}</b>
{END others1_key_fieldheader}
</td>
<td class=blackshade>
{BEGIN others2_key_fieldheader}
<b>{$label proforma_invoices_report others2_key}</b>
{END others2_key_fieldheader}
</td>
<td class=blackshade>
{BEGIN others3_key_fieldheader}
<b>{$label proforma_invoices_report others3_key}</b>
{END others3_key_fieldheader}
</td>
<td class=blackshade>
{BEGIN others1_value_fieldheader}
<b>{$label proforma_invoices_report others1_value}</b>
{END others1_value_fieldheader}
</td>
<td class=blackshade>
{BEGIN others2_value_fieldheader}
<b>{$label proforma_invoices_report others2_value}</b>
{END others2_value_fieldheader}
</td>
<td class=blackshade>
{BEGIN others3_value_fieldheader}
<b>{$label proforma_invoices_report others3_value}</b>
{END others3_value_fieldheader}
</td>
<td class=blackshade>
{BEGIN payment_term_id_fieldheader}
<b>{$label proforma_invoices_report payment_term_id}</b>
{END payment_term_id_fieldheader}
</td>
<td class=blackshade>
{BEGIN payment_term_other_fieldheader}
<b>{$label proforma_invoices_report payment_term_other}</b>
{END payment_term_other_fieldheader}
</td>
<td class=blackshade>
{BEGIN bank_name_id_fieldheader}
<b>{$label proforma_invoices_report bank_name_id}</b>
{END bank_name_id_fieldheader}
</td>
<td class=blackshade>
{BEGIN bank_term1_fieldheader}
<b>{$label proforma_invoices_report bank_term1}</b>
{END bank_term1_fieldheader}
</td>
<td class=blackshade>
{BEGIN bank_term2_fieldheader}
<b>{$label proforma_invoices_report bank_term2}</b>
{END bank_term2_fieldheader}
</td>
<td class=blackshade>
{BEGIN currency_id_fieldheader}
<b>{$label proforma_invoices_report currency_id}</b>
{END currency_id_fieldheader}
</td>
<td class=blackshade>
{BEGIN terms_and_conditions_fieldheader}
<b>{$label proforma_invoices_report terms_and_conditions}</b>
{END terms_and_conditions_fieldheader}
</td>
</tr>
{END grid_header}
{BEGIN grid_row}
<!-------------------------------------  data ----------------------------------------->
{BEGIN row_data}
<tr>
	<td class=data>{$id_value}</td>
	<td class=data>{$account_id_value}</td>
	<td class=data>{$buyer_id_value}</td>
	<td class=data>{$consignee_id_value}</td>
	<td class=data>{$notify_id_value}</td>
	<td class=data>{$proforma_invoice_no_value}</td>
	<td class=data>{$proforma_invoice_date_value}</td>
	<td class=data>{$customer_reference_value}</td>
	<td class=data>{$customer_reference_date_value}</td>
	<td class=data>{$commercial_invoice_no_value}</td>
	<td class=data>{$commercial_invoice_date_value}</td>
	<td class=data>{$term_of_sale1_value}</td>
	<td class=data>{$term_of_sale2_value}</td>
	<td class=data>{$shipment_mode_id_value}</td>
	<td class=data>{$estimated_shipment_date_value}</td>
	<td class=data>{$estimated_shipment_date_custom_value}</td>
	<td class=data>{$additional_charges_frieght_type_value}</td>
	<td class=data>{$additional_charges_legalization_value}</td>
	<td class=data>{$additional_charges_inspection_value}</td>
	<td class=data>{$additional_charges_special_packing_value}</td>
	<td class=data>{$others1_key_value}</td>
	<td class=data>{$others2_key_value}</td>
	<td class=data>{$others3_key_value}</td>
	<td class=data>{$others1_value_value}</td>
	<td class=data>{$others2_value_value}</td>
	<td class=data>{$others3_value_value}</td>
	<td class=data>{$payment_term_id_value}</td>
	<td class=data>{$payment_term_other_value}</td>
	<td class=data>{$bank_name_id_value}</td>
	<td class=data>{$bank_term1_value}</td>
	<td class=data>{$bank_term2_value}</td>
	<td class=data>{$currency_id_value}</td>
	<td class=data>{$terms_and_conditions_value}</td>
</tr>
{END row_data}
{END grid_row}
</table>
{END grid_block}
</div>
{END page}
{$footer}
{END body}
</body>
</html>